package com.stony.orc;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>orcTest
 * <p>com.stony.orc
 *
 * @author stony
 * @version 上午10:57
 * @since 2017/12/1
 */
public class TonicPageRecord implements Serializable{

    @JsonProperty("id")
    long id;
    @JsonProperty("tonic_name")
    String tonicName;
    @JsonProperty("tonic_url")
    String tonicUrl;
    int status = 0; //0 未处理, 1 已处理

    public TonicPageRecord() {
    }

    public TonicPageRecord(String tonicName, String tonicUrl) {
        this.tonicName = tonicName;
        this.tonicUrl = tonicUrl;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTonicName() {
        return tonicName;
    }

    public void setTonicName(String tonicName) {
        this.tonicName = tonicName;
    }

    public String getTonicUrl() {
        return tonicUrl;
    }

    public void setTonicUrl(String tonicUrl) {
        this.tonicUrl = tonicUrl;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", tonicName='" + tonicName + '\'' +
                ", tonicUrl='" + tonicUrl + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
